package com.yn.module.material.utils.xls.entity;

import cn.afterturn.easypoi.excel.annotation.Excel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Date;

@Data
public class HospJointGroupEntity implements Serializable {

    @Excel(name = "病人唯一标识",orderNum = "1")
    @NotBlank(message = "【病人唯一标识】不允许为空")
    private String patientId;
    /**
     * 病人出院时间
     */
    @Excel(name = "病人出院时间", format = "yyyy-MM-dd",orderNum = "2")
    @NotNull(message = "【病人出院时间】不允许为空")
    private String out;
    private Date outTime;

    @ApiModelProperty(value = "GOODS_ID")
    @Excel(name = "GOODS_ID",orderNum = "3")
    private String goodsId;

    /**
     * 国家医保编码
     */
    @ApiModelProperty(value = "国家医保编码")
    @Excel(name = "国家医保编码",orderNum = "4")
    private String medicareCode;
    /**
     * 数量
     */
    @ApiModelProperty(value = "数量")
    @NotNull(message = "【数量】不允许为空")
    @Excel(name = "数量",orderNum = "5")
    private Integer amount;
}
